package com.lkd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lkd.contract.OrderCheck;
import com.lkd.contract.VendoutResultContract;
import com.lkd.vo.PayVO;
import com.lkd.entity.OrderEntity;
import com.lkd.vo.OrderVO;
import com.lkd.vo.Pager;

import java.util.List;
import java.util.Map;

public interface OrderService extends IService<OrderEntity> {


    /**
     * 创建订单
     * @param payVO
     * @return
     */
    Map<String, String> createOrder(PayVO payVO);

    /**
     * 检查订单状态
     * @param orderCheck
     */
    void orderCheck(OrderCheck orderCheck);

    void payNotify(Map<String, String> map);

    /**
     * 处理出货结果通知
     * @param vendoutResultContract
     */
    void vendoutResult(VendoutResultContract vendoutResultContract);

}
